package edu.asu.cse360.model;

import edu.asu.cse360.util.EmployeeVisitor;
import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;


@Entity
@javax.persistence.Table(name="wait_person")
@PrimaryKeyJoinColumn(name="employee_id")
public class WaitPerson  extends Employee{

    public WaitPerson(){}

    public WaitPerson(Restaurant res){
        super(res);
    }
    
    @Override
    public Object accept(EmployeeVisitor visitor) {
        return visitor.visit(this);
    }
}
